package com.ychen.ruijee;

import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ychen@gotop.cn
 * @date 2024-05-25 16:54
 */
@Slf4j
@MapperScan("com.ychen.ruijee.dao")
@EnableTransactionManagement
@ServletComponentScan
@SpringBootApplication
public class RuijeeApplication {
    public static void main(String[] args) {
        SpringApplication.run(RuijeeApplication.class,args);
        log.info("Ruijee_take_out 项目启动成功！");

    }
}
